Moloni\Services\Orders\CreateCreditNote B

Total Complexity 87
Dependencies 13
Dependents 1
Total lines 598
Lines of code 376
Logical lines of code 178
Comment lines 75
Methods 19
Properties 8

Methods 19

Method Rating Maintainability Complexity Lines of code
closeDocument()
A
40 13 57
setProducts()
A
41 10 58
setFees()
A
42 10 54
run()
A
43 9 51
setShipping()
A
47 7 37
tryToMatchProduct()
S
54 6 21
validateDocument()
S
60 6 12
setBasics()
S
53 4 23
tryToMatchFee()
S
64 4 9
shouldSendByEmail()
S
69 4 6
tryToMatchShipping()
S
65 3 9
getOrderID()
S
72 2 6
validateUnrelatedProducts()
S
74 2 5
shouldCloseDocument()
S
78 2 3
__construct()
S
72 1 5
saveLog()
S
63 1 10
getOrder()
S
80 1 3
getResults()
S
82 1 3
saveRecord()
S
75 1 4